package lec05.pm;
/**
 * SATURDAY 
 * Apple
 * 
 * @author Administrator
 *
 */
enum WEEKDAY{
	MONDAY,TUESDAY,WENDSDAY,THURSDAY,FRIDAY,SATURDAY,SUNDAY;
	public String toString() {
		switch (this) {
		case MONDAY:
			return "星期一";
		case TUESDAY:
			return "星期二";
		case WENDSDAY:
			return "星期三";
		case THURSDAY:
			return "星期四";

		case FRIDAY:
			return "星期五";

		case SATURDAY:
			return "星期六";

		case SUNDAY:
			return "星期日";

		default:
			return"周末";
		}
		
		
	};
}
public class EnumDemo {
	public static void main(String[] args) {
		System.out.println(WEEKDAY.MONDAY);
	}
}
